﻿namespace Stopwatch
{
    public interface IStorage
    {
        void Write<T>(string key, T obj) where T : class;

        T Read<T>(string key) where T : class;

        void Delete(string key);

        bool Exists(string key);
    }
}
